<?php
class TesisController extends Zend_Controller_Action
{
    public function init()
    {
        $formLogin = new Application_Form_Login();
        $this->view->formLogin = $formLogin;
        $model =new Application_Model_Noticias();
        $this-> view->noticias=$model->getAll();
        $modelTesis =new Application_Model_Tesis();
        $this-> view->tesis=$modelTesis->getAll();
        $modelPersona =new Application_Model_Personas();
        $this-> view->persona=$modelPersona->getAll();
        if(Zend_Auth::getInstance()->hasIdentity()){
            $skin=Zend_Auth::getInstance()->getIdentity()->skin;
            $this->_helper->Cambiarskin($skin);
        }
    } 
    public function verTesisAction() {
     
        $model =new Application_Model_Tesis();
        $this-> view->tesis=$model->getAll();
        
    }
    public function verAction(){

        
    }
}